package com.blb.wuliu.service.Impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.wuliu.entity.Log;
import com.blb.wuliu.mapper.LogMapper;
import com.blb.wuliu.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lvtian
 * @date 2023/1/5 18:59
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper , Log> implements LogService {
    @Autowired
    private LogMapper logMapper;

    @Override
    public IPage<Log> getAll(Page<Log> page) {
        IPage<Log> logIPage = logMapper.selectAll(page);
        return logIPage;
    }
}
